package com.example.exam.common;

public enum ResultBeanCodeEnum {

	OPERA_SUCCESS(0, "操作成功"),
	OPERA_EXCEPTION(-1, "系统异常"),
	OPERA_FAIL(-2,"操作失败"),
	OPERA_UESR_IN(1,"用户已经登录"),
	OPERA_ACCESSTOKEN_NULL(-3,"token不存在"),
	OPERA_MEETING_STATE_TIME(-200,"当前时间已存在会议"),
	OPERA_MEETING_CREATE_STATE_SUCCESS(0,"可创建会议!"),
	OPERA_MEETING_CREATE_SUCCESS(0,"会议创建成功!"),
	OPER_USER_EXIST(4,"用户账号已存在");
	
	private int code;
	private String msg;
	
	ResultBeanCodeEnum(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}
